package my.edu.model.bills.purchase.service;

import cn.hutool.json.JSONArray;
import com.baomidou.mybatisplus.extension.service.IService;
import my.edu.common.domain.IdsRequest;
import my.edu.common.domain.PageDTO;
import my.edu.common.domain.PageVO;
import my.edu.common.myInterface.GetOne;
import my.edu.model.bills.purchase.entity.PurchaseReturnOrder;
import my.edu.model.bills.purchase.entity.dto.PurchaseReturnDTO;
import my.edu.model.bills.purchase.entity.dto.PurchaseReturnOrderSearchDTO;
import my.edu.model.bills.purchase.entity.vo.PurchaseReturnOrderVO;

import java.util.List;

public interface IPurchaseReturnOrderService extends IService<PurchaseReturnOrder>, GetOne {
    void saveNew(PurchaseReturnDTO purchaseReturnDTO);

    void removeOrder(  List<Long>  ids);

    void updateOrder(PurchaseReturnDTO purchaseReturnDTO);

    void auditOrder( List<Long>  ids);

    void rauditOrder( List<Long>  ids);

    PageVO<PurchaseReturnOrderVO>  getPurchaseOrder(PageDTO page, PurchaseReturnOrderSearchDTO purchaseReturnOrderSearchDTO);

    JSONArray getPurchaseReturnrderOnly();

    List<PurchaseReturnOrderVO> listOnly(PurchaseReturnOrderSearchDTO purchaseReturnOrderSearchDTO);
}
